Supervenience as a Design Pattern

نویسنده

  • JUAN R. REZA
چکیده

Single-inheritance object-oriented languages have been extended with features for adding methods to a class from other classes without disturbing the source code of the receiving unit. Well known examples include traits, mix-ins, default methods in interfaces, and method references. The purpose of these offerings is explained in terms of convenient re-use of individual instance methods. These are most applicable when inheritance of a needed method is not possible without altering the application’s class hierarchy. The intended objectives include: (a) avoid duplicating a method in another class, (b) modify a class or interface for another version of the system without forcing the first version to change, (c) allow dynamic composition of methods into a “class”, (d) accomplish each of these objectives without forcing the creation of a new class with a slightly different name or position in a namespace or hierarchy. These are certainly useful objectives in making practical coding choices. However, point solutions based on methods may lead class designs away from other principles supporting quality and maintainability of the design such as separation of concerns.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Are mental properties supervenient on brain properties?

The "mind-brain supervenience" conjecture suggests that all mental properties are derived from the physical properties of the brain. To address the question of whether the mind supervenes on the brain, we frame a supervenience hypothesis in rigorous statistical terms. Specifically, we propose a modified version of supervenience (called ε-supervenience) that is amenable to experimental investiga...

متن کامل

The Use of Supervenience in Dynamic-world Planning

This paper describes the use of supervenience in integrating planning and reaction in complex, dynamic environments. Supervenience is a form of abstraction with affinities both to abstraction in AI planning systems and to partitioning schemes in hierarchical control systems. The use of supervenienee can be distilled to an easy-to-state constraint on the design of multilevel dynamic-world p "lan...

متن کامل

Defining Global Supervenience

What does it mean that certain properties globally supervene on others? The paper criticises the now standard way of spelling out the notion in terms of 1-1 correlations between world-domains and proposes a modification that escapes the difficulties. The new definition can secure the additional benefit of resisting an argument to the effect that global supervenience is theoretically dispensable...

متن کامل

Supervenience and Reductive Physicalism

Supervenience physicalism attempts to combine non-reductionism about properties with a physical determination thesis in such a way as to ensure physicalism. I argue that this attempt is unsuccessful: the specific supervenience relation in question is either strong enough to ensure reductionism, as in the case of strong supervenience, or too weak to yield physical determination, as in the case o...

متن کامل

In search of ontological emergence: diachronic, but non-supervenient

Most philosophical accounts of emergence are based on supervenience, with supervenience being an ontologically synchronic relation of determination. This conception of emergence as a relation of supervenience, I will argue, is unable to make sense of the kinds of emergence that are widespread in selforganizing and nonlinear dynamical systems, including distributed cognitive systems. In these dy...

متن کامل

Weak and Global Supervenience: Functional Bark and Metaphysical Bite?

Weak and global supervenience are equivalent to strong supervenience for intrinsic properties. Moreover, weak and global supervenience relations are always mere parts of a more general underlying strong supervenience relation. Most appeals to global supervenience, though, involve spatio-temporally relational properties; but here too, global and strong supervenience are equivalent. Functionally ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014